@layout("/common/_container.html"){

<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="entranceGuardRuleForm">
            <input type="hidden" id="id" value="${item.id}">
            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input name="权限名称" value="${item.ruleName}" readonly="true" />
                </div>
                <div class="col-sm-6 b-r">
                    <#input name="门禁时段" value="${item.timeInfo.name}" readonly="true" />
                </div>
            </div>
            </div>
            <div class="col-lg-6 col-sm-6">
                <div class="panel panel-default">
                    <div class="panel-heading">已选人员</div>
                    <div class="panel-body dept-tree">
                        <ul id="userTree" class="ztree"></ul>
                    </div>
                </div>
            </div>
            <div class="col-lg-6 col-sm-6">
                <div class="panel panel-default">
                    <div class="panel-heading">已选门</div>
                    <div class="panel-body dept-tree">
                        <ul id="doorTree" class="ztree"></ul>
                    </div>
                </div>
            </div>
            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="danger" name="关闭" id="cancel" icon="fa-eraser" clickFun="EntranceGuardRuleInfoDetail.close()"/>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/door/ENTRANCE/GUARD/RULE/entranceGuardRule_detail.js"></script>
@}
